﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using IFPRJ.EF.Model;

namespace IFPRJ.EF.DALayer
{
    public interface IPost
    {
        bool PostCreate(Post post);
        bool PostUpdate(Post post);
        bool PostDelete(Post post);
        List<Post> PostLoadAll();
        Post PostGetSingleByPostId(int postid);
        List<Post> PostGetListByCatoryId(int catoryid);
    }
}
